Repository navigation
Release 0.12.0: a data grid, overlays on top, docs for agents - #15
Merged
Merged
Conversation
An application listing records, a CRM's above all, needs a grid drawn from data: rows given as an array, columns as definitions, sorted in the browser or by the server, columns pinned to a side, a header kept in view, rows dragged to a new place. solidtype had only the Table's parts. Behaviour goes where a component Kobalte lacks keeps it, in the headless Table, and the grid's model is plain functions any design system's grid can draw; HeroUI's draws it on the Table port, its look a stylesheet of its own. A cell's story points step with a number stepper, a number field in HeroUI's look whose digits roll as Number Flow's do, sharing the field's value, range and form rather than copying them. Building them found bugs, each fixed with a test: keys typed in a cell's field went to the rows, a menu in a cell closed as it opened because a function child was drawn where its parent read it, Kobalte replaced a number input's key handlers with a caller's, a number field named only by aria-label left its input unnamed, and a resizable table prerendered on the server laid every column out at no width. A popover, a menu, a select's list and a tooltip were drawn under any element the page stacks, a virtualized table's sticky header among them, since Kobalte copies its content's z-index, which HeroUI's styles leave to React Aria. Every overlay is now drawn in the browser's top layer, the toasts kept above them all. Kobalte's portals take a ref, which breaks the types of SegmentedControl's. An agent building on solidtype hand-rolled what solidtype-heroui has, since an installed package carried no pages. Each package now installs the documentation for a user's agent, written by starlight-theme-hypha from the site's pages, with a skill that sends an agent to it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
An application listing records needs a grid drawn from data, and solidtype had only the Table's parts; overlays were drawn under anything the page stacks, a sticky header among them; and an agent building on solidtype hand-rolled what solidtype-heroui has, since an installed package carried no pages. This PR completes 0.12.0, beside those three changes.
Changes
ref, andSegmentedControl's root takesDom.htmlElement -> unit.Data_grid, on HeroUI'sTable: rows as data, columns as definitions, sorting in the browser or the application, selection checkboxes, columns resized, pinned and aligned, a sticky header, rows dragged by a handle or the keys with a copy following the pointer, an empty state, loading more, virtualization and a footer;Solidtype_headless.Data_gridis its model.Tablepin columns, keep a header in view, reorder rows, and leave a key pressed in a cell's control to the control.Number_stepper: aNumber_fieldin HeroUI's look whose digits roll as Number Flow's do; aButtongivenslot=`incrementorslot=`decrementsteps a field.Solidtype_headless.Top_layer, the toasts above them all.llms.txtis gone.aria_labelnames its input and buttons; a resizable table prerendered on the server lays its columns out; a letter typed on a row finds the next row by its text.CHANGES.mdnames 0.12.0, and the install page its plugin.Verified
make test,make lint(agents/ held to the pages among it) andmake docs, with no warning in any build.